package cn.wolfcode.business.service;

import cn.wolfcode.business.domain.BusStatement;

import java.math.BigDecimal;
import java.util.List;

/**
 * 结算单Service接口
 * 
 * @author wolfcode
 * @date 2025-09-20
 */
public interface IBusStatementService 
{

    List<BusStatement> selectBusStatementList(BusStatement busStatement);

    BusStatement selectBusStatementById(Long id);

    int insertBusStatement(BusStatement busStatement);

    int updateBusStatement(BusStatement busStatement);

    int deleteBusStatementByIds(Long id);
//
//    int general(BusAppointment busAppointment);

    void updateItem(Long statementId, BigDecimal totalAmount, BigDecimal totalQuality, BigDecimal disCount);

    int updateBusPay(Long statementId, Long payId, Integer statusPaid);

    Long createStatement(Long id);
}
